package com.sifa.springcloud.controller;


import com.sifa.springcloud.entities.CommentResult;
import com.sifa.springcloud.service.PaymentService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class ControllerTestFeign {
    @Resource
    PaymentService paymentService;

    @GetMapping("/test")
    public CommentResult getCommentResult(){
        return paymentService.paymentSQL(1);

    }

}
